home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / maksiu / lists / amoslist-1295.lzh / AMOSLIST / 000079_amos-request@svcs1.digex.net_Thu Dec 14 20:28:48 1995.msg < prev    next >
Internet Message Format  |  1995-12-31  |  2KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id UAA02647;  for <mcox@access.digex.net> ; Thu, 14 Dec 1995 20:28:47 -0500
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id RAA21301 for amos-out; Thu, 14 Dec 1995 17:09:58 -0500
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id RAA21293 for <amos-list@svcs1.digex.net>; Thu, 14 Dec 1995 17:09:53 -0500
  4. Received: from vifa1.freenet.victoria.bc.ca (vifa1.freenet.victoria.bc.ca [199.60.222.1]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id RAA04860;  for <amos-list@access.digex.net> ; Thu, 14 Dec 1995 17:09:51 -0500
  5. Received: (from uv334@localhost) by vifa1.freenet.victoria.bc.ca (8.6.12/8.6.12) id OAA08428; Thu, 14 Dec 1995 14:09:11 -0800
  6. Date: Thu, 14 Dec 1995 14:09:10 -0800 (PST)
  7. From: John Bintz <uv334@freenet.victoria.bc.ca>
  8. Subject: Re: Image Processing
  9. To: Amos List <amos-list@access.digex.net>
  10. In-Reply-To: <01HYGHNBNRV699EIZ8@conrad.appstate.edu>
  11. Message-ID: <Pine.3.89.9512141410.A6983-0100000@vifa1>
  12. MIME-Version: 1.0
  13. Content-Type: TEXT/PLAIN; charset=US-ASCII
  14. Status: RO
  15. X-Status: 
  16.  
  17. On Tue, 5 Dec 1995 DM9200@conrad.appstate.edu wrote:
  18.  
  19. > I now know how to pull a hex value from a given pixel. It'll be in
  20. > the form of a string and look like "FG3" or "2B2" or something like
  21.  
  22. Perhaps not "G"...
  23.  
  24. > However I don't know how to separate and pull a 0 to 16 value from
  25. > the "F" and the "G" and the "3" of the "FG3" string. This is not the
  26.  
  27. Do what I do...
  28.  
  29.   For I=1 to 3
  30.     A$=Mid$(HexString$,I,1)
  31.     Pixval=Val("$"+A$)
  32.  
  33.     'Do Your Processing Stuff with the color in here
  34.     'Or, store it in an array for later use
  35.  
  36.   Next
  37.  
  38. THis is the method I use for all my HAM routines.
  39.  
  40. John C. Bintz - * uv334@freenet.victoria.bc.ca *
  41.  
  42. WWW:  http://www.lookup.com/Homepages/10794/home.html
  43.  
  44. "Marge, Marge, Marge...
  45.  When kids today say 'bad', they mean 'good'...
  46.  And to 'shake your booty' means to wiggle one's butt...
  47.  Permit me to demonstrate..."
  48.                                     -Homer Simpson                           
  49.